POV-Ray : Newsgroups : povray.programming : Compiling POVRay with Mingw32 on Win95. : Compiling POVRay with Mingw32 on Win95. Server Time
29 Jul 2024 08:21:29 EDT (-0400)
  Compiling POVRay with Mingw32 on Win95.  
From: Alain CULOS
Date: 10 May 1998 15:49:22
Message: <355604C2.D4CD8753@bigfoot.com>
Dear all,

I would appreciate people who compile on Windows95 have a look at that, all of you
could help me a bit on that one.

I try to use Mingw32 to compile, but you don't need to know about it to help me there.

In POV's code for windows (pvbitmap.c) there is a reference to LPBITMAPCOREHEADER.
I have no such thing in any of my windows header files, but I was wondering whether
you could give me the info from your own windows header files.

Also I have found something and that may be what I'm looking for, but I want to
confirm that before I do anything stupid. In my Structures.h file I have the following
:

==================================
typedef struct tagBITMAPCOREHEADER {
  DWORD   bcSize;
  WORD    bcWidth;
  WORD    bcHeight;
  WORD    bcPlanes;
  WORD    bcBitCount;
} BITMAPCOREHEADER;

typedef struct tagRGBTRIPLE {
  BYTE rgbtBlue;
  BYTE rgbtGreen;
  BYTE rgbtRed;
} RGBTRIPLE;

typedef struct _BITMAPCOREINFO {
  BITMAPCOREHEADER  bmciHeader;
  RGBTRIPLE         bmciColors[1];
} BITMAPCOREINFO, *PBITMAPCOREINFO, *LPBITMAPCOREINFO;

typedef struct tagBITMAPFILEHEADER {
  WORD    bfType;
  DWORD   bfSize;
  WORD    bfReserved1;
  WORD    bfReserved2;
  DWORD   bfOffBits;
} BITMAPFILEHEADER;

typedef struct tagBITMAPINFOHEADER {
  DWORD  biSize;
  LONG   biWidth;
  LONG   biHeight;
  WORD   biPlanes;
  WORD   biBitCount;
  DWORD  biCompression;
  DWORD  biSizeImage;
  LONG   biXPelsPerMeter;
  LONG   biYPelsPerMeter;
  DWORD  biClrUsed;
  DWORD  biClrImportant;
} BITMAPINFOHEADER, *LPBITMAPINFOHEADER, *PBITMAPINFO;
============================================

My guess is the answer to my question is that BITMAPCOREHEADER does the job.
Would anyone be able to confirm that ?

Many thanks to all who read so far,
any answers or pointers appreciated,
Al.


--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :

To answer me, please take out the Z from my address.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.